/**
 * @file e1_t2_q1.c
 * @date 2022-03-01
 * 
 * 
 * @copyright Copyright (c) 2022 cnzyx MIT Licence
 * 
 */

#include<stdio.h>
#include<math.h>
#include<stdlib.h>

double fun(double num1,double num2){
    return sqrt(num1)+sqrt(num2);
}
int main(int argc, char const *argv[])
{
    //UTF-8
    system("chcp 65001");

    double in_num1,in_num2,result;
    printf("请输入两个数：");
    scanf("%lf %lf",&in_num1,&in_num2);
    result=fun(in_num1,in_num2);
    printf("结果：y=%lf\n",result);
    
    //Pause console
    system("pause");
    return 0;
}
